package com.lovo.sys.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@TableName("sscsys_orderinfo")
@Getter
@Setter
@NoArgsConstructor
@ApiModel(value = "供货批次实体", description = "供货批次实体")
public class OrderInfoBean {
    @ApiModelProperty("供货批次id")
    @TableId(value = "pk_orderInfoId", type = IdType.AUTO)
    private long orderInfoId;
    @ApiModelProperty("供货编号")
    @TableField("fk_orderIdNum")
    private String orderIdNum ;
    @ApiModelProperty("商品规格")
    @TableField("oi_goodsSpecs")
    private String goodsSpecs;
    @ApiModelProperty("商品数量")
    @TableField("oi_goodsNum")
    private int goodsNum;

    @ApiModelProperty("采购价")
    @TableField("oi_shopPrice")
    private float shopPrice;

    @ApiModelProperty("订单金额")
    @TableField("oi_orderPrice")
    private float orderPrice;

    @ApiModelProperty("订单状态0-已供货1-已入库2-已付款3-已退货")
    @TableField("oi_orderStatus")
    private int orderStatus;
    @ApiModelProperty("供货订单批次编号")
    @TableField("oi_idNum")
    private String idNum;


}
